<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes" />
		<!--iPhone私有标签，它表示：允许全屏模式浏览-->
		<meta name="apple-mobile-web-app-status-bar-style" content="black" />
		<!--iPhone私有标签，它指定的iPhone中safari顶端的状态条的样式-->
		<meta name="format-detection" content="telephone=no; email=no" />
		<!--不识别邮件和不把数字识别为电话号码-->
		<link rel="stylesheet" type="text/css" href="assets/css/ydui.css" />
		<link rel="stylesheet" type="text/css" href='assets/css/paySuccess.css?fh500=' + new Date().getTime() />
		<link rel="stylesheet" type="text/css" href="assets/css/reset.css" />
		<script src="assets/js/ydui.flexible.js"></script>

		<title>芯球泊车</title>

		<style type="text/css">
			.state {
				text-align: center;
				font-size: 0.30rem;
				color: #666666;
				margin-top: 2.22rem;
				font-weight: bolder;
			}
		</style>

	</head>

	<body>

		<section class="g-flexview">

			<!--<header class="m-navbar">
				<a  class="navbar-item"><i class="back-ico"></i></a>
				<div class="navbar-center"><span class="navbar-title">芯球泊车</span></div>
			</header>-->

			<section class="g-scrollview">

				<div class="state">

					<!--<span>车辆状态 : </span><span class="state_details">正在取车中</span>-->
				</div>

				<div class="quChelocation">
					请到<span class="location">--</span>取车
				</div>

				<div class="tipOne">
					泊车机器人将在10分钟内将车送至指定取车点，

				</div>

				<div class="tipTwo">

					请您在取到车后15分钟内驶离停车场，
				</div>

				<div class="tipThree">
					否则将产生额外费用。
				</div>

			</section>

		</section>

	</body>

	<script type="text/javascript" src="assets/js/jquery-1.8.3.min.js"></script>
	<script type="text/javascript" src="assets/js/ydui.js"></script>
	<script type="text/javascript" src="assets/js/vconsole.js"></script>
	<script type="text/javascript" src="assets/js/api.js?fjl=" +new Date().getTime()></script>
	<script type="text/javascript">
		
		var carInfoId = window.localStorage.getItem("carInfoId");
		
		var t1 = null;
		$(function() {
			
			var data = {
				"carInfoId": carInfoId,
				"type": 1

			};

			var index = 1;

			t1 = setInterval(function() {

				index++

				if(index > 10) {
					clearInterval(t1);
					return;
				}

				ajaxJson('post', 'app/boundCar/getSome', data, function(data) {

					if(data.code == 200 && data.ifsuccess) {

						$(".location").text(data.result.some + "取车点")
						clearInterval(t1);

					} else {
//						dialog.toast(data.msg, 'none', 1000);

					}

				}, function() {

				});

			}, 2000)

		})
	</script>

</html>